//
//  UIBarButtonItem+ExBadge.m
//  OC-Example
//
//  Created by iOS_Doule on 2019/8/1.
//  Copyright © 2019 apang.men. All rights reserved.
//

#import "UIBarButtonItem+ExBadge.h"
#import "NSObject+ExRunTime.h"
@implementation UIBarButtonItem (ExBadge)
+ (void)load {
    [self instanceMethodExchange:@selector(swizzledSetView:) originMethod:@selector(setView:)];
}

- (void)swizzledSetView:(UIView *)view {
    NSLog(@"%@",view);
    [self swizzledSetView:view];
}
@end
